package com.orange.quickback.system.service.user.manage;

import com.orange.quickback.system.entities.user.manage.QBootLoginInfo;
import com.orange.quickback.system.api.common.result.QBootResult;
import org.springframework.stereotype.Service;

@Service
public interface QBootUserService {
    QBootLoginInfo login(String eMail,String passWord);
    QBootResult registerQBootUser(String email,String userName,String nickName,String password,String phoneNumber,String avatar,String introduction);
    /**
     * 项目初始化时创建db管理员。同时初始化密码的方法
     * @return QBootRegisterResult
     */
    QBootResult initRegister();
    QBootResult getUserInfo(String username);
    QBootResult getAllUsersByPage(int page,int size);
}
